tree /f > fileAndFolder.txt
tree > folder.txt